<?php

namespace laiq\db\exception;

use laiq\Excpetion;

/**
 * PDO参数绑定异常
 */
class BindParamException extends Exception
{
    public function __construct($message, $config, $sql, $bind, $code=10502)
    {
        $this->setData('Bind Param', $bind);
        parent::__construct($message, $config, $sql, $code);
    }
}